﻿Imports Datos
Imports Entidad

Public Class DocumentoClienteBultoDetalleNegocio

    Dim dao As New DocumentoClienteBultoDetalleDatos

    Function generarCodigoBultoDetalle() As Integer
        Return dao.generarCodigoBultoDetalle()
    End Function

    Sub registrarDocumentoBultoDetalle(detalle As DocumentoBultoDetalle)
        dao.registrarDocumentoBultoDetalle(detalle)
    End Sub

    Function obtenerDetalleBulto(codigo As Integer) As DataSet
        Return dao.obtenerDetalleBulto(codigo)
    End Function

    Sub actualizarDocumentoBultoDetalle(detalle As DocumentoBultoDetalle)
        dao.actualizarDocumentoBultoDetalle(detalle)
    End Sub

    Sub eliminarDocumentoBultoDetalle(detalle As DocumentoBultoDetalle)
        dao.eliminarDocumentoBultoDetalle(detalle)
    End Sub

    Sub registrarCTRG02(gen As Generico)
        dao.registrarCTRG02(gen)
    End Sub

    Sub actualizarCTRG02(gen As Generico)
        dao.actualizarCTRG02(gen)
    End Sub

    Sub eliminarCTRG02(gen As Generico)
        dao.eliminarCTRG02(gen)
    End Sub

    Sub eliminarCTRG02XDetalle(gen As Generico)
        dao.eliminarCTRG02XDetalle(gen)
    End Sub

    Function listarDetalleBulto(codBulto As String) As DataSet
        Return dao.listarDetalleBulto(codBulto)
    End Function

End Class
